# -*- coding: utf-8 -*-
# ASI_SUPPORTED_MODE.py was created by RuanYaoHuang on 2023/4/2.

import ctypes


# 定义 ASI_SUPPORTED_MODE 结构体
class ASI_CAMERA_MODE(ctypes.Structure):
    ASI_CAMERA_MODE_NORMAL = 0
    ASI_CAMERA_MODE_TRIG_SOFT_EDGE = 1
    ASI_CAMERA_MODE_TRIG_RISE_EDGE = 2
    ASI_CAMERA_MODE_TRIG_FALL_EDGE = 3
    ASI_CAMERA_MODE_TRIG_SOFT_LEVEL = 4
    ASI_CAMERA_MODE_TRIG_HIGH_LEVEL = 5
    ASI_CAMERA_MODE_TRIG_LOW_LEVEL = 6
    ASI_CAMERA_MODE_END = -1


class ASI_SUPPORTED_MODE(ctypes.Structure):
    _fields_ = [("SupportedCameraMode", ASI_CAMERA_MODE * 16)]